package com.dayaokeji.rhythmschoolstudent.client.common.base;

import android.Manifest;
import android.widget.AdapterView;

/**
 * Created by Gorden on 2017/10/10.
 */

public class Constant {


    /**
     * 课程
     */
    public static final int FLAG_REL_TYPE_COURSE = 1;

    /**
     * 会议
     */
    public static final int FLAG_REL_TYPE_MEETING = 2;

    /**
     * 二维码签到失效时间
     */
    public static final long SIGN_QR_CODE_EXPIRED_TIME = 10L;

    /**
     * 签到所需权限
     */
    public static final String[] SIGN_PERMISSION_GROUP = {
            Manifest.permission.ACCESS_FINE_LOCATION,
            Manifest.permission.ACCESS_COARSE_LOCATION,
            Manifest.permission.ACCESS_WIFI_STATE,
            Manifest.permission.CHANGE_WIFI_STATE,
    };

    /**
     * 短信验证类型-注册
     */
    public static final int MOBILE_VERIFY_TYPE_REGISTER = 3;
    /**
     * 短信验证类型-忘记密码
     */
    public static final int MOBILE_VERIFY_TYPE_FORGET_PASSWORD = 4;



    /**
     * App状态前台
     */
    public static final int APP_STATE_FOREGROUND_CODE = 1;

    /**
     * 息屏
     */
    public static final int APP_STATE_TURNING_OFF = 2;

    /**
     * App退出
     */
    public static final int APP_STATE_EXIT_CODE = 3;

}
